package com.itheima.service;

import com.aliyuncs.exceptions.ClientException;
import com.itheima.entity.Result;

import java.util.Map;

/**
 * 体检预约服务接口
 */

public interface OrderService {
    //体检预约
    Result order(Map map) throws Exception;

    //根据id查询预约信息，包括体检人信息、套餐信息
    Map findById(Integer id) throws Exception;

    Result add(Map map, Integer setmealId) throws Exception;

    Result confirmOrder(Integer id,String telephone) ;
}
